package com.sky.service.admin;

import com.sky.dto.EmployeeDTO;
import com.sky.dto.EmployeeLoginDTO;
import com.sky.dto.EmployeePageQueryDTO;
import com.sky.dto.PasswordEditDTO;
import com.sky.entity.Employee;
import com.sky.result.PageResult;


/**
 * EmployeeService接口：用来定义和员工（用户）的相关操作
 *  仅仅只是定义功能，但是不做具体的实现。
 * @author wangqi
 * @date 2023/12/25 15:22
 */
public interface EmployeeService {
    public Employee login(EmployeeLoginDTO employeeLoginDTO);

    void updatePassword(PasswordEditDTO passwordEditDTO);

    void save(EmployeeDTO employeeDTO);

    PageResult page(EmployeePageQueryDTO employeePageQueryDTO);

    void update(EmployeeDTO employeeDTO);

    Employee findEmployeeById(Long id);

    void setStatus(Integer status, Long id);
}
